<template>
  <div class="search-box">
    <el-form>
      <el-form-item>
        <el-input placeholder="搜索零食"></el-input>
      </el-form-item>
    </el-form>
  </div>
</template>

<script>
export default {
name: "SearchBox"
}
</script>

<style scoped>

.search-box {
  width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.el-form {
  width: 100%;
}

.el-form-item {
  margin-bottom: 0;
}


</style>